<template>
  <view class="kong-container">
<!--    <image
      class="kong-icon"
      :src="`${imgUrl_config}/${icon}`"
    ></image> -->
    <text class="kong-txt">{{ text }}</text>
  </view>
</template>

<script>
export default {
  props: {
    text: {
      type: String,
      default: () => {
        return "暂无内容";
      },
    },
	icon: {
		type: String,
		default: () => {
		  return "no-content-page.png";
		},
	}
  },
  data() {
    return {
      imgUrl_config: '',
    };
  },
};
</script>

<style lang="scss" scoped>
.kong-container {
  display: flex;
  flex-direction: column;
  .kong-icon {
    width: 549rpx;
    height: 341rpx;
    display: block;
    margin: 100rpx auto 0;
  }
  .kong-txt {
    font-size: 28rpx;
    color: #ccc;
    display: block;
    text-align: center;
    margin-top: 60rpx;
    margin-bottom: 30rpx;
  }
}
</style>
